<?php

	/*
		----------------------------------
		Projet Lumina
		----------------------------------
		
		Classe Album, correspondant à la table album 
		de la base de données
		
		COHEN Jonathan
		2014
	*/
	
	class Album {
		var $id;
		var $description;
		var $photo;
		
		function __construct($id, $description, $photo) {
			$this->setId($id);
            $this->setDescription($description);
			$this->setPhoto($photo);
		}
		
		
		/* ------------------------------
			GETTERS GÉNÉRIQUES
		*/
		function getId() {
			return $this->id;
		}
        
        function getDescription() {
			return $this->description;
		}
        
		function getPhoto() {
			return $this->photo;
		}
		
		/* ------------------------------
			SETTERS
		*/
		function setId($id) {
			$this->id = $id;
		}
		
		function setDescription($description) {
			$this->description = $description;
		}

		function setPhoto($photo) {
			$this->photo = $photo;
		}
	}

?>